package sk.gunna.sms.shared;

import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModelData;
import com.google.gwt.user.client.rpc.IsSerializable;

public class UserBean extends BaseModelData implements IsSerializable{
	

	private static final long serialVersionUID = 1L;

	public UserBean (){
	}
	
	public UserBean (String userEmail, String userType, Date createDate, Date lastLogin){
		setUserEmail(userEmail);
		setUserType(userType);
		setCreateDate(createDate);
		setLastLogin(lastLogin);
	}
	
	public String getUserEmail(){
		return get("userEmail");
	}
	
	public void setUserEmail(String userEmail) {
		set("userEmail", userEmail);
	}
	
	public String getUserType(){
		return get("userType");
	}
	
	public void setUserType(String userType) {
		set("userType", userType);
	}
	
	public Date getCreateDate(){
		return get("createDate");
	}
	
	public void setCreateDate(Date createDate) {
		set("createDate", createDate);
	}
	
	public Date getLastLogin(){
		return get("lastLogin");
	}
	
	public void setLastLogin(Date lastLogin) {
		set("lastLogin", lastLogin);
	}
}
